package com.opennews.openplatform.familyexpenseapi.config

import com.opennews.openplatform.familyexpenseapi.security.SecurityRequestMapQuery
import com.opennews.openplatform.myspringbootcore.security.RequestMapManager
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration

@Configuration
class RequestMapManagerConfig {
    @Bean
    fun requestMapManager(securityRequestMap: SecurityRequestMapQuery): RequestMapManager {
        return RequestMapManager(securityRequestMap)
    }
}